/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.campusinfomodules.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.lczyfz.campusinfo.common.persistence.Page;
import com.lczyfz.campusinfo.common.service.CrudService;
import com.lczyfz.campusinfo.modules.campusinfomodules.entity.ModuleDetail;
import com.lczyfz.campusinfo.modules.campusinfomodules.dao.ModuleDetailDao;

/**
 * 模块Service
 * @author zms
 * @version 2018-04-10
 */
@Service
@Transactional(readOnly = true)
public class ModuleDetailService extends CrudService<ModuleDetailDao, ModuleDetail> {

	public ModuleDetail get(String id) {
		return super.get(id);
	}
	
	public List<ModuleDetail> findList(ModuleDetail moduleDetail) {
		return super.findList(moduleDetail);
	}
	
	public Page<ModuleDetail> findPage(Page<ModuleDetail> page, ModuleDetail moduleDetail) {
		return super.findPage(page, moduleDetail);
	}
	
	@Transactional(readOnly = false)
	public void save(ModuleDetail moduleDetail) {
		super.save(moduleDetail);
	}
	
	@Transactional(readOnly = false)
	public void delete(ModuleDetail moduleDetail) {
		super.delete(moduleDetail);
	}
	
}